﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000983 RID: 2435
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class IOKINLMLPHH : IMessage<IOKINLMLPHH>, IMessage, IEquatable<IOKINLMLPHH>, IDeepCloneable<IOKINLMLPHH>, IBufferMessage
	{
		// Token: 0x17001ED8 RID: 7896
		// (get) Token: 0x06006D4F RID: 27983 RVA: 0x001250A8 File Offset: 0x001232A8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<IOKINLMLPHH> Parser
		{
			get
			{
				return IOKINLMLPHH._parser;
			}
		}

		// Token: 0x17001ED9 RID: 7897
		// (get) Token: 0x06006D50 RID: 27984 RVA: 0x001250AF File Offset: 0x001232AF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return IOKINLMLPHHReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001EDA RID: 7898
		// (get) Token: 0x06006D51 RID: 27985 RVA: 0x001250C1 File Offset: 0x001232C1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return IOKINLMLPHH.Descriptor;
			}
		}

		// Token: 0x06006D52 RID: 27986 RVA: 0x001250C8 File Offset: 0x001232C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IOKINLMLPHH()
		{
		}

		// Token: 0x06006D53 RID: 27987 RVA: 0x001250D0 File Offset: 0x001232D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IOKINLMLPHH(IOKINLMLPHH other) : this()
		{
			this.eventUniqueId_ = other.eventUniqueId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006D54 RID: 27988 RVA: 0x001250F5 File Offset: 0x001232F5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public IOKINLMLPHH Clone()
		{
			return new IOKINLMLPHH(this);
		}

		// Token: 0x17001EDB RID: 7899
		// (get) Token: 0x06006D55 RID: 27989 RVA: 0x001250FD File Offset: 0x001232FD
		// (set) Token: 0x06006D56 RID: 27990 RVA: 0x00125105 File Offset: 0x00123305
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventUniqueId
		{
			get
			{
				return this.eventUniqueId_;
			}
			set
			{
				this.eventUniqueId_ = value;
			}
		}

		// Token: 0x06006D57 RID: 27991 RVA: 0x0012510E File Offset: 0x0012330E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as IOKINLMLPHH);
		}

		// Token: 0x06006D58 RID: 27992 RVA: 0x0012511C File Offset: 0x0012331C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(IOKINLMLPHH other)
		{
			return other != null && (other == this || (this.EventUniqueId == other.EventUniqueId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006D59 RID: 27993 RVA: 0x0012514C File Offset: 0x0012334C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventUniqueId != 0U)
			{
				num ^= this.EventUniqueId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006D5A RID: 27994 RVA: 0x0012518B File Offset: 0x0012338B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006D5B RID: 27995 RVA: 0x00125193 File Offset: 0x00123393
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006D5C RID: 27996 RVA: 0x0012519C File Offset: 0x0012339C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventUniqueId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006D5D RID: 27997 RVA: 0x001251D0 File Offset: 0x001233D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventUniqueId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventUniqueId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06006D5E RID: 27998 RVA: 0x0012520E File Offset: 0x0012340E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(IOKINLMLPHH other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventUniqueId != 0U)
			{
				this.EventUniqueId = other.EventUniqueId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06006D5F RID: 27999 RVA: 0x0012523F File Offset: 0x0012343F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06006D60 RID: 28000 RVA: 0x00125248 File Offset: 0x00123448
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventUniqueId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040029A5 RID: 10661
		private static readonly MessageParser<IOKINLMLPHH> _parser = new MessageParser<IOKINLMLPHH>(() => new IOKINLMLPHH());

		// Token: 0x040029A6 RID: 10662
		private UnknownFieldSet _unknownFields;

		// Token: 0x040029A7 RID: 10663
		public const int EventUniqueIdFieldNumber = 10;

		// Token: 0x040029A8 RID: 10664
		private uint eventUniqueId_;
	}
}
